package com.ssy.lingxi.after.sale.api.model.vo.request.api;

import com.ssy.lingxi.after.sale.api.model.vo.request.ReturnSubmitVerifyVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 退货提交审核VO
 * @author 伍将
 * @date 2020/12/4
 * @version 2.0.0
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ApiReturnSubmitVerifyVO extends ReturnSubmitVerifyVO implements Serializable {

    private static final long serialVersionUID = -7475422700105300133L;

    /**
     * 会员id
     */
    @NotNull(message = "会员id要不能为空")
    @PositiveOrZero(message = "会员id要大于等于0")
    private Long memberId;
    /**
     * 角色id
     */
    @NotNull(message = "角色id要不能为空")
    @PositiveOrZero(message = "角色id要大于等于0")
    private Long roleId;
}
